<!-- INCLUDE ../include/title.html -->
<body>

<div class="ch-container">
    <div class="row">


        <div id="content" >
            

            <div class="box-content">
                        <table class="table table-striped">
                            <thead>
                                <tr role="row">
                                    <th >流信息名</th>
                                    <th >是否启用</th>
                                    <th >是否显示</th>
                                    <th>播放模式</th>
                                    <th >单播URL</th>
                                    <th >操作</th>
                                </tr>
                            </thead>
                        
                            <tbody >
                                <!-- BEGIN ret -->
                                <tr >
                                    <td class="sorting_1">
                                        <a hrefto="index.php?do=Stream/stream_add&StreamID={StreamID}&ClassID={ClassID}" class="streamlist">
                                            {StreamName}
                                        </a>
                                    </td>
                                    <td class="center ">{StreamEnable}</td>
                                    <td class="center ">{StreamDisplay}</td>
                                    <td class="center ">{PlayMode}</td>
                                    <td class="center ">
                                        {UnicastURL}
                                    </td>
                                    <td class="center ">
                                        <a hrefto="index.php?do=Stream/stream_add&StreamID={StreamID}&ClassID={ClassID}" class="btn btn-info streamlist">
                                            <i class="glyphicon glyphicon-edit icon-white"></i>
                                            编辑
                                        </a>
                                        <a href="#" onclick="deletedata('StreamInfo',{StreamID})" class="btn btn-danger">
                                            <i class="glyphicon glyphicon-trash icon-white"></i>
                                            删除
                                        </a>
                                    </td>
                                </tr>
                                <!-- END ret -->
                            </tbody>
                    </table>
            </div>

        </div>
    </div>
</div><!--/.fluid-container-->

<!-- INCLUDE ../include/bottom.html -->

<script type="text/javascript">
$(document).ready(function() {
    //var obj = $("#DataTables_Table_0_wrapper").children().first("div");
    //var str = obj.html()+addNewItem("Add New Class");
    //console.log(str);
    //obj.html(str);
    //console.log(.html());
    $(".streamlist").bind("click",function(){
        parent.removeBox($(this).attr("hrefto"));
    })


} );

function getStreamStatus(){
       
}

</script>

</body>
